<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilcert: xcert_genx509cert.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilcert
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xcert__genx509cert_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">xcert_genx509cert.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains the implementation of the interface functions for creating X.509 certificate for DevIK and DevAK public key. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date       Changes
----- ---- ---------- -------------------------------------------------------
1.0   har  01/09/2023 Initial release
1.1   am   08/18/2023 Renamed error codes which starts with XOCP with XCERT
1.2   har  10/31/2023 Add support to use DevIk subject as DevAk Issuer if DevIk user config is
                available
      kpt  10/26/2023 Add support to run KAT
      har  12/08/2023 Add support for Subject Alternative Name field
1.2   am   01/31/2024 Moved entire file under PLM_OCP_KEY_MNGMT macro
      kpt  02/21/2024 Add support for DME extension
      har  03/25/2024 Fix calculation of hash for serial
1.3   har  05/02/2024 Added doxygen grouping and tags
                Fixed doxygen warnings
      har  06/07/2024 Added support to store and get user config for key index
      kal  07/24/2024 Code refactoring updates for versal_2ve_2vm
      har  08/08/2024 Added TCB Info extension in DevIk CSR
      har  08/23/2024 Removed HwType field in Extended Key usage extension for Versal Gen2 devices
      har  09/17/2024 Fixed doxygen warnings
      kpt  11/19/2024 Add UTF8 encoding support for version field
1.4   har  02/27/2025 Use SHA1 to calculate hash of uncompressed public key for SKI/AKI</pre><pre></pre> <dl class="section note"><dt>Note</dt><dd></dd></dl>
</div></div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
